package com.google.p.code.springscim.schema.model;

import java.util.List;

import com.google.p.code.springscim.ScimConstants;

public class ScimResourceSchemaAttribute {
    private String name;
    
    private String type;
    
    private boolean multiValued = false;
    
    private String multiValuedAttributeChildName;
    
    private String description;
    
    private String scheme = ScimConstants.SCHEMA_CORE_1_0;
    
    private boolean readOnly = false;
    
    private boolean required = false;
    
    private boolean caseExact = false;
    
    private List<ScimResourceSchemaAttribute> subAttributes;
    
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    
    public String getType() {
        return type;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public boolean isMultiValued() {
        return multiValued;
    }
    
    public void setMultiValued(boolean multiValued) {
        this.multiValued = multiValued;
    }
    
    public String getDescription() {
        return description;
    }
    
    public void setDescription(String description) {
        this.description = description;
    }
    
    public String getScheme() {
        return scheme;
    }
    
    public void setScheme(String scheme) {
        this.scheme = scheme;
    }
    
    public boolean isReadOnly() {
        return readOnly;
    }
    
    public void setReadOnly(boolean readOnly) {
        this.readOnly = readOnly;
    }
    
    public boolean isRequired() {
        return required;
    }
    
    public void setRequired(boolean required) {
        this.required = required;
    }
    
    public boolean isCaseExact() {
        return caseExact;
    }
    
    public void setCaseExact(boolean caseExact) {
        this.caseExact = caseExact;
    }
    
    public List<ScimResourceSchemaAttribute> getSubAttributes() {
        return subAttributes;
    }
    
    public void setSubAttributes(List<ScimResourceSchemaAttribute> subAttributes) {
        this.subAttributes = subAttributes;
    }
    
    public String getMultiValuedAttributeChildName() {
        return multiValuedAttributeChildName;
    }
    
    public void setMultiValuedAttributeChildName(String multiValuedAttributeChildName) {
        this.multiValuedAttributeChildName = multiValuedAttributeChildName;
    }
    
}
